﻿/*======================================================================
== Copyright : BlueCurve (c)
== Licence   : Gnu/GPL v2.x
== Author    : Teddy Albina
== Email     : bluecurveteam@gmail.com
== Web site  : http://www.codeplex.com/BlueCurve
========================================================================*/
using System;
using System.AddIn.Pipeline;
using BlueCurve.DownloadAttributes;
using BlueCurve.IndexationContract;
using BlueCurve.WebCrawlerRequest;
using System.Security.Cryptography.X509Certificates;

namespace BlueCurve.AddinView
{
    /// <summary>
    /// Vue coté Addin pour les plugins de Type fichier
    /// </summary>
    [AddInBase]
    public abstract class AddinFileViewAddinsSide
    {
        public abstract IndexationData IndexerLoader(RequestState requeststate, string location);
    }

    /// <summary>
    /// Vue coté Addin pour les plugins de type protocol
    /// </summary>
    [AddInBase]
    public abstract class AddinProtocolViewAddinsSide
    {
        public abstract RequestState Download(Attributes downloadata, X509Certificate[] certificates, X509Certificate[] certificates2);
        public abstract string Accept { get; set; }
        public abstract Uri Proxy { get; set; }
    }
}
